package com.qf.service;

import com.qf.domain.Goods;
import com.qf.domain.GoodsType;
import com.qf.domain.PageBean;
import com.qf.domain.User;

import java.util.List;

public interface GoodsService {
    PageBean<Goods> findByPage(int page_num, int page_size, String where, List<Object> params);
    Goods findById(Integer gid);

    void add(Goods goods);

    List<GoodsType> find();

    List<User> selectUser();

    void addgoodType(GoodsType goodsType);

    List<Goods> selectGoods();

    void remove(int id);

    List<User> selectinvalidUser();

    void update(Goods goods);

    List<Goods> findAll();
}
